import { sytRequest } from "@/request";
// GET /admin/order/orderInfo/{page}/{limit}获取分页列表
export const getOrderList = async(page:number,limit:number,params?:any)=>{
    return await sytRequest.get(`/order/orderInfo/${page}/${limit}`,{
        params
    })
}
// /admin/order/orderInfo/getStatusList
export const getStatusList = async()=>{
    return await sytRequest.get(`/order/orderInfo/getStatusList`)
}
// GET /admin/order/orderInfo/show/{id}
export const getOrderById = async(userId:number)=>{
    return await sytRequest.get(`/order/orderInfo/show/${userId}`)
}
